package registration.model;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;

public class Registration {
	public void registrateTime(File file){
		PrintWriter writer;
		try {
			writer = new PrintWriter(file, "UTF-8");
			writer.println("1; 12.00.00");
			writer.close();
		} catch (FileNotFoundException e) {
			System.err.println("Folder not found");
			e.printStackTrace();
		} catch (UnsupportedEncodingException e) {
			System.err.println("Unsupported encoding");
			e.printStackTrace();
		}
	}
}
